package Chapter07.Homework.H20211022;

public class Test02 {
    public static void main(String[] args) {
        Java java=new Java("王老师",50,15,"男");
        java.selfIntroduce();
        java.giveLession();
        Ui ui=new Ui("方老师",20,1,"男");
        ui.selfIntroduce();
        ui.giveLession();
        Net net=new Net("施老师",35,8,"女");
        net.selfIntroduce();
        net.giveLession();
    }
}
